package com.example.domain.qo.user;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class SaveQo {

    /***
     * //用户名称
     */
    @Length(max = 64, message = "userName最大长度不超过64个字符")
    private String userName;

    /***
     * //密码
     */
    @Length(max = 64, message = "password最大长度不超过64个字符")
    private String password;

    /***
     * //真实姓名
     */
    @Length(max = 64, message = "realName最大长度不超过64个字符")
    private String realName;

    /***
     * //年龄
     */
    @Length(max = 20, message = "age最大长度不超过20个字符")
    private String age;

    /***
     * //用户类型
     */
    @Length(max = 20, message = "type最大长度不超过20个字符")
    private String type;

    /***
     * //电话号码
     */
    @Length(max = 64, message = "phone最大长度不超过64个字符")
    private String phone;

    /***
     * //描述信息
     */
    @Length(max = 64, message = "remarks最大长度不超过64个字符")
    private String remarks;

    /***
     * //状态
     */
    @Length(max = 20, message = "status最大长度不超过20个字符")
    private String status;
}
